package com.muyi.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;

import java.util.Date;

@Data
public class CommentDTO implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer comment_id;


    /**
     *
     */
    private String content;

    /**
     *
     */
    private Integer like_count;

    /**
     *
     */
    private Integer favorite_count;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publish_date;

    private String paper_title;

    private String nickname;

}
